﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Server.BusinessServer.SalesManagementService.Dto
{
    public class SalesReturnDto
    {
        public int Id { get; set; }
        /// <summary>
        /// 销售Id
        /// </summary>
        public string? SalesId { get; set; }

        /// <summary>
        /// 退货单号
        /// </summary>
        public string? SalesReturnCode { get; set; }
        /// <summary>
        /// 产品Id
        /// </summary>
        public string? ProductId { get; set; }
        /// <summary>
        /// 退货数量
        /// </summary>
        public int SalesReturnNumber { get; set; }
        /// <summary>
        /// 总额
        /// </summary>
        public decimal SalesReturnSum { get; set; }
        /// <summary>
        /// 客户名
        /// </summary>
        public string? ClientName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 是否入账
        /// </summary>
        public bool SalesReturnState { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 销售明细
        /// </summary>
        public List<SaleDtoss>? SaleDtoss { get; set; }
    }
}
